package entity;

/**
 * 实体类
 * @author wangj
 *
 */

public class Person {
		private int id;//人员编号
		private String name;//姓名
		private String sex;//性别
		private int age;//年龄
		private String rank;//等级
		private String department;//所在部门
		
		/**
		 * 人员编号
		 * @return
		 */
		public int getId() {
			return id;
		}
		public void setId(int id) {
			this.id = id;
		}
		
		/**
		 * 姓名
		 * @return
		 */
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		
		/**
		 * 性别
		 * @return
		 */
		public String getSex() {
			return sex;
		}
		public void setSex(String sex) {
			this.sex = sex;
		}
		
		/**
		 * 年龄
		 * @return
		 */
		public int getAge() {
			return age;
		}
		public void setAge(int age) {
			this.age = age;
		}
		
		/**
		 * 等级
		 * @return
		 */
		public String getRank() {
			return rank;
		}
		public void setRank(String rank) {
			this.rank = rank;
		}
		
		/**
		 * 所在部门
		 * @return
		 */
		public String getDepartment() {
			return department;
		}
		public void setDepartment(String department) {
			this.department = department;
		}
		
		
}
